package com.ruoyi.project.system.dormitory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 宿舍管理对象 dormitory
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class Dormitory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long iid;

    /** 宿舍名称 */
    @Excel(name = "宿舍名称")
    private String dormitoryName;

    /** 宿舍id */
    @Excel(name = "宿舍id")
    private Long dormitoryId;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 住房人数 */
    @Excel(name = "住房人数")
    private Long usingAmount;

    public void setIid(Long iid)
    {
        this.iid = iid;
    }

    public Long getIid()
    {
        return iid;
    }
    public void setDormitoryName(String dormitoryName)
    {
        this.dormitoryName = dormitoryName;
    }

    public String getDormitoryName()
    {
        return dormitoryName;
    }
    public void setDormitoryId(Long dormitoryId)
    {
        this.dormitoryId = dormitoryId;
    }

    public Long getDormitoryId()
    {
        return dormitoryId;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setUsingAmount(Long usingAmount)
    {
        this.usingAmount = usingAmount;
    }

    public Long getUsingAmount()
    {
        return usingAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iid", getIid())
            .append("dormitoryName", getDormitoryName())
            .append("dormitoryId", getDormitoryId())
            .append("sex", getSex())
            .append("usingAmount", getUsingAmount())
            .toString();
    }
}
